package com.joysuch.wwyt.patrol.entity;

/**
 * @author zero
 * @since 2022/2/28 19:14
 */
public enum CommonStatus {
    CLOSE(0,"关闭"),
    OPEN(1,"开启")
    ;

    private Integer code;
    private String value;

    CommonStatus(Integer code, String value) {
        this.code = code;
        this.value = value;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
